#include "OgreRoot.h"
#include "OgreGLESPlugin.h"

namespace Ogre
{
	static GLESPlugin* plugin;

	extern "C" void _OgreGLESExport dllStartPlugin(void) throw()
	{
		plugin = new GLESPlugin();
		Root::getSingleton().installPlugin(plugin);
	}

	extern "C" void _OgreGLESExport dllStopPlugin(void)
	{
		Root::getSingleton().uninstallPlugin(plugin);
		delete plugin;
	}
}
